package hotel.service;

import hotel.model.IUser;

import java.util.List;

public interface UserService 
{
	public IUser getUserById(int id); 
	
	public IUser getUserByUsername(String username); 
	
	public List<IUser> getUsers(); 

	public void deleteUser(int id);

	public void insertUser(String username, String password, String name, String surname);
	
	public void changePassword(String newPassword, int id);
	
	public void changeRole(boolean role, int id);
	
}


